package com.niit.yhserver.service;

import com.niit.yhpojo.dto.EmployeeDTO;
import com.niit.yhpojo.entity.Employee;

import java.util.List;

public interface EmployeeService {

    //显示全部
    List<Employee> getAllEmployee();

    //按照id进行查询
    Employee findOneById(Integer id);

    //新增员工
    void insert(EmployeeDTO employeeDTO);

    //删除员工
    void deleteById(Integer id);

    //更新员工
    void update(EmployeeDTO employeeDTO);


}
